package com.geor.gcv.core.mat;

import org.nutz.json.Json;

/**
 * 纠偏结果
 * 
 * @author geor.lusongnan
 *
 */
public class TiltWapper {
	/** 选择角度 */
	private float angle;
	/** 是否颠倒 */
	private boolean UpsideDown = false;

	public TiltWapper(float angle, boolean upsideDown) {
		super();
		this.angle = angle;
		UpsideDown = upsideDown;
	}

	public float getAngle() {
		return angle;
	}

	public void setAngle(float angle) {
		this.angle = angle;
	}

	public boolean isUpsideDown() {
		return UpsideDown;
	}

	public void setUpsideDown(boolean upsideDown) {
		UpsideDown = upsideDown;
	}

	@Override
	public String toString() {
		return Json.toJson(this);
	}

}
